package com.base.study.bean;

import java.util.ArrayList;
import java.util.List;

public class OnlineStudyTreeBean {

    private String id;
    private String parentId;
    private String name;
    private Integer level;
    private Integer type; // 0 课程  1 新闻
    private String treeInfo;
    private List<children> children=new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTreeInfo() {
        return treeInfo;
    }

    public void setTreeInfo(String treeInfo) {
        this.treeInfo = treeInfo;
    }

    public List<OnlineStudyTreeBean.children> getChildren() {
        return children;
    }

    public void setChildren(List<OnlineStudyTreeBean.children> children) {
        this.children = children;
    }

    public static class children{

      public String getId() {
          return id;
      }

      public void setId(String id) {
          this.id = id;
      }

      public String getParentId() {
          return parentId;
      }

      public void setParentId(String parentId) {
          this.parentId = parentId;
      }

      public String getName() {
          return name;
      }

      public void setName(String name) {
          this.name = name;
      }

      public Integer getLevel() {
          return level;
      }

      public void setLevel(Integer level) {
          this.level = level;
      }

      public Integer getType() {
          return type;
      }

      public void setType(Integer type) {
          this.type = type;
      }

      public List<children1> getChildren() {
          return children;
      }

      public void setChildren(List<children1> children) {
          this.children = children;
      }

      private String id;
        private String parentId;
        private String name;
        private Integer level;
        private Integer type;
      private List<children1> children=new ArrayList<>();
      public static class children1{

          public String getId() {
              return id;
          }

          public void setId(String id) {
              this.id = id;
          }

          public String getParentId() {
              return parentId;
          }

          public void setParentId(String parentId) {
              this.parentId = parentId;
          }

          public String getName() {
              return name;
          }

          public void setName(String name) {
              this.name = name;
          }

          public Integer getLevel() {
              return level;
          }

          public void setLevel(Integer level) {
              this.level = level;
          }

          public Integer getType() {
              return type;
          }

          public void setType(Integer type) {
              this.type = type;
          }

          private String id;
          private String parentId;
          private String name;
          private Integer level;
          private Integer type;
      }
    }



}
